package assignment1;
/*
 * @author jc198809
 */
import java.io.*;
public class Main {
    public static void main(String[] args) {
        String userInput = null;
        char convertedUserInput = ' ';
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        do{
            userInput = " ";
            System.out.println("Inventory Menu");
            System.out.println("1: Add Item to Inventory");
            System.out.println("2: Item 2");
            System.out.println("Q: Quit");
            System.out.print("Selection:");

            try {
                 userInput = br.readLine();
            } catch (IOException ioe) {
                 System.out.println("IO error reading input");
                 System.exit(1);
            }

            userInput = userInput.toUpperCase();

            System.out.println("");
            convertedUserInput = userInput.charAt(0);

            switch (convertedUserInput){

                case '1':
                    addItem();
                    break;
                case '2':

                    break;
            }




        } while (convertedUserInput != 'Q');

        System.out.println(" ");
    }
    static void addItem(){

        System.out.println("Add Item");



    }
}


